﻿using Microsoft.Practices.Prism.Events;
using Microsoft.Practices.Prism.Regions;
using Tanmia.Basis.ViewInterface;
using Tanmia.Basis.ViewModel;
using Tanmia.Warehouse.Core;
using Tanmia.Warehouse.Domain;

namespace Tanmia.Warehouse.Presentation.Scenarios
{
    [ViewInfo("تحرير أنواع الأقسام", "الأقسام التنظيمية في الموسسة للمستودعات, تشكل الأقسم الهيكل الإداري لكل مستودع على حدى.", Constants.RegionEditor, Views.SectionTypeEditor)]
    public class SectionTypeEditorViewModel : EditorViewModel<SectionType>
    {
        public SectionTypeEditorViewModel(IShellView shellView, IRegionManager regionManager, IEventAggregator eventAggregator, IBusinessEntityNavigator<SectionType> entityNavigator, IMessageService messageService, SectionTypeDomain sectionTypeObj)
            : base(shellView, regionManager, eventAggregator, entityNavigator, messageService, sectionTypeObj)
        {
            EntityName = "SectionType";
        }
    }
}
